package programs;

import java.io.File;
import java.io.IOException;

import compare.Config;
import compare.IrisCodeExtractor;

public class ExtractBinaryCodes {

	/**
	 * @param args
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException {

		Config cfg = new Config("config/DefaultConfig.cfg");
		IrisCodeExtractor ice = new IrisCodeExtractor(new File(cfg.getString("IrisSamples01")), new File(cfg.getString("SegmentationsDir")), 
								new File(cfg.getString("IrisCodesDir")), new File(cfg.getString("BinUSIT")));
		ice.setFileExtension("png");
		ice.readSegmentation();
	}
}
